<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Mail Verwaltung</title>
<template>admin.html</template>
<parent_url>/system-admin</parent_url>
<usergroup>10</usergroup>
</head>

<body>
<p><a class="snapol_button" href="mail-neu-html">Neues eMail (Html)</a></p>
<p><a class="snapol_button" href="mail-neu-text">Neues eMail (Plain Text)</a> </p>
<table width="100%" class="snapol_table">
  <thead>
  <tr>
    <th scope="col">Filename</th>
    <th scope="col">Subject</th>
    <th scope="col">Mail From (eMail)</th>
    <th scope="col">Mail From (Text)</th>
    <th scope="col">Mail To</th>
    <th scope="col">Mail Cc</th>
    <th scope="col">Mail Bcc</th>
    <th scope="col">Mail Modus</th>
    <th scope="col">Attachment</th>
    <th scope="col">&nbsp;</th>
    <th scope="col">&nbsp;</th>
    <th scope="col">&nbsp;</th>
    <th scope="col">&nbsp;</th>
  </tr>
  </thead>
  <tbody com="data" table="_mail" orderby="subject" property_modus="false" var="mail_list">
    <tr>
      <td>[filename]</td>
      <td><a href="mail-detail?id=[id]">[subject]</a></td>
      <td>[mail_from]</td>
      <td>[mail_from_text]</td>
      <td>[mail_to]</td>
      <td>[mail_cc]</td>
      <td>[mail_bcc]</td>
      <td>[modus]</td>
      <td>&nbsp;</td>
      <td><a href="mail-verwaltung-attachment?id=[id]">Attachment editieren</a></td>
      <td><?php if ($mail_list['modus'] == 'html') {?>
        <a href="mail-neu-html?id=[_mail_id]">editieren</a>
        <?php }?>
        <?php if ($mail_list['modus'] == 'text') {?>
        <a href="mail-neu-text?id=[_mail_id]">editieren</a>
        <?php }?></td>
      <td>&nbsp;</td>
      <td><a href="" click="delete_data" table="_mail" id="[_mail_id]">löschen</a></td>
    </tr>
  </tbody>
</table>
</body>
</html>
